@import "./theme/color";

body,
html {
    --primary: #4d65fd;
    --success: #52c41a;
    --warning: #faad14;
    --danger: #f5222d;
    --info: #909399;
    --desc: #555;
    color: #333;
    font-size: 14px;
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

a {
    text-decoration: none;
    color: #333;
}

i {
    font-style: normal;
}

i.cursor-pointer:hover {
    @extend .primary;
    opacity: 0.85;
}

ul {
    padding: 0;
    margin: 0;

    li {
        list-style-type: none;
    }
}

::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 8px;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 6px;
    background: #f1f1f1;
    border-radius: 15px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.22);
}

::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 4px;
    // box-shadow   : inset 0 0 5px rgba(0, 0, 0, 0.2);
    background: hsla(220, 4%, 58%, .3);
}

::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    // -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.22);
    // border-radius: 4px;
    background: #fff;
}

.c-table {

    .handle {

        .ant-btn-link {
            padding-left: 0;
        }

        .ant-dropdown-trigger {
            color: var(--primary);
            border-color: var(--primary);
        }

        .c-button:not(.ant-btn-link) {
            margin: 0 4px 4px 0;
        }
    }
}

// 输入框不显示箭头
input[type=number] {

    &::-webkit-outer-spin-button,
    &::-webkit-inner-spin-button {
        -webkit-appearance: none;
    }

    -moz-appearance: textfield;
}

// 阿里图标
.iconfont {

    width: 1em;

    height: 1em;

    vertical-align: -0.15em;

    fill: currentColor;

    overflow: hidden;

}

.netMonitor-weChat {
    img {
        width: 100px;
    }

    img:first-child {
        margin-right: 10px;
    }
}


.overlay {
    max-width: 300px;
}